package com.cnpc.rightslogan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;

@SpringBootApplication
@EnableConfigServer
public class ConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigApplication.class, args);
        //内网需要加代理
//        System.setProperty("http.proxySet", "true");
//        System.setProperty("http.proxyHost", "proxy3.bj.petrochina");
//        System.setProperty("http.proxyPort", "8080");
//
//        System.setProperty("https.proxySet", "true");
//        System.setProperty("https.proxyHost", "proxy3.bj.petrochina");
//        System.setProperty("https.proxyPort", "8080");
    }

}
